//
//  ViewController.m
//  LabelView
//
//  Created by 江湖 on 2018/5/9.
//  Copyright © 2018年 江湖. All rights reserved.
//

#import "ViewController.h"
#import "SKTagView.h"
@interface ViewController ()


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    SKTagView *views = [[SKTagView alloc]initWithFrame:CGRectMake(0, 88, [UIScreen mainScreen].bounds.size.width, 300)];
    [self.view addSubview:views];
    NSArray *datas = @[@"我不做大哥好多年",@"大闸蟹",@"河豚肉",@"大闸蟹",@"河豚肉",@"大闸蟹",@"河豚肉",@"鲁班大师",@"我的剑就是你的剑",@"魔道祖师"];
    [views setUpUIEdgeInsetstop:10 left:10 bottom:10 right:10 lrmogi:10 tbmogi:10 rowHeight:18];
    [views setUpLabelFont:14 borderWidth:1 corderRadius:9 tagmogi:5];
    [views setUpBorderColor:[UIColor redColor] baColor:[UIColor groupTableViewBackgroundColor]];
    [views initNoWithType:SKTagViewStyleDefault data:datas];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
